<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!--日志管理-->
<div class="main_tag">系统管理>系统日志</div>
<div class="sysm1_udiv">
	<c:choose>
		<c:when test="${empty(page.list)}">未查询到所需信息！</c:when>
		<c:otherwise>
			<table class="sysm1_utable">
				<tr>
					<th width="100">日志编号</th>
					<th width="150">时间</th>
					<th width="150">对象</th>
					<th width="200">操作者IP</th>
					<th width="150">操作类型</th>
				</tr>
				<!--读取循环-->


				<c:forEach var="log" items="${page.list}">
					<tr>
						<td class="sysm_time">${log.id}</td>
						<td>${log.time}</td>
						<td>${log.tableName}</td>
						<td>${log.operatorIP}</td>
						<td>${log.operateType}</td>
					</tr>
				</c:forEach>

			</table>
			<!--分页-->
			<jsp:include page="pager.jsp"></jsp:include>
		</c:otherwise>
	</c:choose>
</div>
<Script>
	$(document).ready(function() {
		$("table tr").mouseover(function() {
			$(this).css("background", "#F3F3F3");
		});
		$("table tr").mouseout(function() {
			$(this).css("background", "");
		});
	});
</Script>